<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: D:/doxy/PublicAPI/ATECCore/atrefprojectfuncs.h 文件参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_52a01df1794e5beec01860bdd05aea48.html">PublicAPI</a></li><li class="navelem"><a class="el" href="../../dir_b036ea399c584d2b2a32165352c4a594.html">ATECCore</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">函数</a>  </div>
  <div class="headertitle"><div class="title">atrefprojectfuncs.h 文件参考</div></div>
</div><!--header-->
<div class="contents">

<p><a href="../../d1/d17/atrefprojectfuncs_8h_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a36a6459bf222f18cc8979e9b329160ef"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d17/atrefprojectfuncs_8h.html#a36a6459bf222f18cc8979e9b329160ef">atRefFile_beginAttachmentToScene</a> (ATEC_NAMESPACE_NAME::ATDataCore::ATAttachmentBuilderR builder, ATEC_NAMESPACE_NAME::WCharCP fileName, ATEC_NAMESPACE_NAME::WCharCP sceneName, ATEC_NAMESPACE_NAME::WCharCP logical, ATEC_NAMESPACE_NAME::WCharCP description, ATEC_NAMESPACE_NAME::ATDataCore::ATSceneRefP sceneToAttachTo)</td></tr>
<tr class="memdesc:a36a6459bf222f18cc8979e9b329160ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">开始将给定的场景参照到指定的场景上  <a href="../../d1/d17/atrefprojectfuncs_8h.html#a36a6459bf222f18cc8979e9b329160ef">更多...</a><br /></td></tr>
<tr class="separator:a36a6459bf222f18cc8979e9b329160ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61965bef3786b873a5a2fd355f579109"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d17/atrefprojectfuncs_8h.html#a61965bef3786b873a5a2fd355f579109">atRefFile_completeAttachment</a> (ATEC_NAMESPACE_NAME::ATDataCore::ATAttachmentP &amp;attachment, ATEC_NAMESPACE_NAME::ATDataCore::ATAttachmentBuilderR builder, ATEC_NAMESPACE_NAME::ATDataCore::RefAttachNestMode nestFlag, int nestDepth, bool initialShow)</td></tr>
<tr class="memdesc:a61965bef3786b873a5a2fd355f579109"><td class="mdescLeft">&#160;</td><td class="mdescRight">结束参照  <a href="../../d1/d17/atrefprojectfuncs_8h.html#a61965bef3786b873a5a2fd355f579109">更多...</a><br /></td></tr>
<tr class="separator:a61965bef3786b873a5a2fd355f579109"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1003917e9c72add759bbbb891069d3e3"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d17/atrefprojectfuncs_8h.html#a1003917e9c72add759bbbb891069d3e3">atRefFile_reload</a> (ATEC_NAMESPACE_NAME::ATDataCore::ATSceneRefP SceneRef, bool updateShow, bool forceReload)</td></tr>
<tr class="memdesc:a1003917e9c72add759bbbb891069d3e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">重新加载被参照场景的元素数据  <a href="../../d1/d17/atrefprojectfuncs_8h.html#a1003917e9c72add759bbbb891069d3e3">更多...</a><br /></td></tr>
<tr class="separator:a1003917e9c72add759bbbb891069d3e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20c3c4c0a6e70c9697ffe1744eacf647"><td class="memItemLeft" align="right" valign="top"><a id="a20c3c4c0a6e70c9697ffe1744eacf647" name="a20c3c4c0a6e70c9697ffe1744eacf647"></a>
ATECCORE_EXPORTED bool&#160;</td><td class="memItemRight" valign="bottom"><b>atRefFile_isSelfAttachment</b> (ATEC_NAMESPACE_NAME::ATDataCore::ATSceneRefP SceneRef)</td></tr>
<tr class="separator:a20c3c4c0a6e70c9697ffe1744eacf647"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c3d54ad859b1b6c9a0a6ae79dcf859b"><td class="memItemLeft" align="right" valign="top"><a id="a5c3d54ad859b1b6c9a0a6ae79dcf859b" name="a5c3d54ad859b1b6c9a0a6ae79dcf859b"></a>
ATECCORE_EXPORTED int&#160;</td><td class="memItemRight" valign="bottom"><b>atRefFile_mergeIntoSceneRef</b> (ATEC::ATDataCore::ATSceneRefP SceneRef)</td></tr>
<tr class="separator:a5c3d54ad859b1b6c9a0a6ae79dcf859b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><dl class="section author"><dt>作者</dt><dd>SZEWC </dd></dl>
<dl class="section date"><dt>日期</dt><dd>2022/04/28 </dd></dl>
</div><h2 class="groupheader">函数说明</h2>
<a id="a36a6459bf222f18cc8979e9b329160ef" name="a36a6459bf222f18cc8979e9b329160ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36a6459bf222f18cc8979e9b329160ef">&#9670;&nbsp;</a></span>atRefFile_beginAttachmentToScene()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt atRefFile_beginAttachmentToScene </td>
          <td>(</td>
          <td class="paramtype">ATEC_NAMESPACE_NAME::ATDataCore::ATAttachmentBuilderR&#160;</td>
          <td class="paramname"><em>builder</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATEC_NAMESPACE_NAME::WCharCP&#160;</td>
          <td class="paramname"><em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATEC_NAMESPACE_NAME::WCharCP&#160;</td>
          <td class="paramname"><em>sceneName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATEC_NAMESPACE_NAME::WCharCP&#160;</td>
          <td class="paramname"><em>logical</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATEC_NAMESPACE_NAME::WCharCP&#160;</td>
          <td class="paramname"><em>description</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATEC_NAMESPACE_NAME::ATDataCore::ATSceneRefP&#160;</td>
          <td class="paramname"><em>sceneToAttachTo</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>开始将给定的场景参照到指定的场景上 </p>
<dl class="section note"><dt>注解</dt><dd>调用该接口后需调用brRefFile_completeAttachment以结束参照过程</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ATEC_NAMESPACE_NAME::ATDataCore::ATAttachmentBuilderR</td><td>builder 指向参照的对象 </td></tr>
    <tr><td class="paramname">ATEC_NAMESPACE_NAME::WCharCP</td><td>fileName 待参照的文件 </td></tr>
    <tr><td class="paramname">ATEC_NAMESPACE_NAME::WCharCP</td><td>sceneName 待参照文件里待参照的场景，传NULL将使用默认场景 </td></tr>
    <tr><td class="paramname">ATEC_NAMESPACE_NAME::WCharCP</td><td>logical 参照的逻辑名称，需唯一 </td></tr>
    <tr><td class="paramname">ATEC_NAMESPACE_NAME::WCharCP</td><td>description 参照的描述，可传NULL </td></tr>
    <tr><td class="paramname">ATEC_NAMESPACE_NAME::ATDataCore::ATSceneRefP</td><td>sceneToAttachTo 参照到的场景 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt 成功时返回SUCCESS</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/19 </dd></dl>

</div>
</div>
<a id="a61965bef3786b873a5a2fd355f579109" name="a61965bef3786b873a5a2fd355f579109"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61965bef3786b873a5a2fd355f579109">&#9670;&nbsp;</a></span>atRefFile_completeAttachment()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt atRefFile_completeAttachment </td>
          <td>(</td>
          <td class="paramtype">ATEC_NAMESPACE_NAME::ATDataCore::ATAttachmentP &amp;&#160;</td>
          <td class="paramname"><em>attachment</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATEC_NAMESPACE_NAME::ATDataCore::ATAttachmentBuilderR&#160;</td>
          <td class="paramname"><em>builder</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATEC_NAMESPACE_NAME::ATDataCore::RefAttachNestMode&#160;</td>
          <td class="paramname"><em>nestFlag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nestDepth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>initialShow</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>结束参照 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ATEC_NAMESPACE_NAME::ATDataCore::ATAttachmentP</td><td>&amp; attachment 新创建的参照对象 </td></tr>
    <tr><td class="paramname">ATEC_NAMESPACE_NAME::ATDataCore::ATAttachmentBuilderR</td><td>builder brRefFile_beginAttachment返回的对象 </td></tr>
    <tr><td class="paramname">ATEC_NAMESPACE_NAME::ATDataCore::RefAttachNestMode</td><td>nestFlag RefAttachNestMode::** </td></tr>
    <tr><td class="paramname">int</td><td>nestDepth 参照深度 </td></tr>
    <tr><td class="paramname">bool</td><td>initialDisplay true时初始化参照的显示 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt 成功时返回SUCCESS</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/19 </dd></dl>

</div>
</div>
<a id="a1003917e9c72add759bbbb891069d3e3" name="a1003917e9c72add759bbbb891069d3e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1003917e9c72add759bbbb891069d3e3">&#9670;&nbsp;</a></span>atRefFile_reload()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt atRefFile_reload </td>
          <td>(</td>
          <td class="paramtype">ATEC_NAMESPACE_NAME::ATDataCore::ATSceneRefP&#160;</td>
          <td class="paramname"><em>SceneRef</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>updateShow</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>forceReload</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>重新加载被参照场景的元素数据 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ATEC_NAMESPACE_NAME::ATDataCore::ATSceneRefP</td><td>SceneRef 重新加载参照的场景 </td></tr>
    <tr><td class="paramname">bool</td><td>updateDisplay true时更新视图 </td></tr>
    <tr><td class="paramname">bool</td><td>forceReload 是否无论包含参照数据的文件改变都重新加载 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt 成功时返回SUCCESS</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/19 </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
